package com.xidian.zhiancloud.dao.riskcontrol;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xidian.zhiancloud.model.riskcontrol.TRiskTrainingStudentsList;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 风险培训学员
 */
public interface TRiskTrainingStudentsMapper extends
        BaseMapper<TRiskTrainingStudentsList> {

    int insertTrainingStudents(@Param("data") List<TRiskTrainingStudentsList> list);

    List<TRiskTrainingStudentsList> getByTraRiskStaId
        (@Param("traRiskStaId") String traRiskStaId);

    int updateTrainingStudents(@Param("traRiskStaId") String traRiskStaId,
        @Param("data") List<TRiskTrainingStudentsList> list);

    List<TRiskTrainingStudentsList> deleteByByTraRiskStaId(String id);

    
}
